From b6e0357ffbc71e03213eab6d9ca83708a16051fb Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sun, 21 Feb 2010 17:25:25 +0000 Subject: [PATCH] 3x global $wgOut --- includes/specials/SpecialUserrights.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index 2e2e9621c2..6d9def66d5 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -82,7 +82,6 @@ class UserrightsPage extends SpecialPage { if( !$this->userCanChangeRights( $wgUser, true ) ) { // fixme... there may be intermediate groups we can mention. - global $wgOut; $wgOut->showPermissionsErrorPage( array( array( $wgUser->isAnon() ? 'userrights-nologin' @@ -91,7 +90,6 @@ class UserrightsPage extends SpecialPage { } if ( wfReadOnly() ) { - global $wgOut; $wgOut->readOnlyPage(); return; } -- 2.20.1